package com.tjmc.company.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.tjmc.company.api.enums.CompanyMessageEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 消息模板内容表
 *
 * @author recruit
 * @date 2024-11-18 15:12:37
 */
@Data
@TableName("company_message_template")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "消息模板内容表")
public class CompanyMessageTemplateEntity extends Model<CompanyMessageTemplateEntity> {

 
	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Long id;

	/**
	* 企业ID
	*/
    @Schema(description="企业ID")
    private Long companyId;

	/**
	* 账号ID
	*/
    @Schema(description="账号ID")
    private Long account;

	/**
	* 消息模板类型：自动回复语、常用语、打招呼语
	*/
    @Schema(description="消息模板类型：自动回复语、常用语、打招呼语")
    private CompanyMessageEnum messageType;

	/**
	* 消息内容
	*/
    @Schema(description="消息内容")
    private String message;
}
